package com.yiyi.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 试卷表
 * </p>
 *
 * @author yiyi
 * @date 2021/5/30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Exam {

    /**
     * 试卷ID，根据时间自动生成
     */
    @TableId("exam_id")
    private String examId;
    /**
     * 对应的岗位id
     */
    @TableField("position_id")
    private String positionId;
    /**
     * 试卷标题
     */
    @TableField("exam_title")
    private String examTitle;
    /**
     * 试卷分数
     */
    @TableField("exam_grade")
    private Integer examGrade;
    /**
     * 试卷限制时间
     */
    @TableField("exam_time")
    private Integer examTime;
}
